package org.jetnuke.dao;

import java.util.List;

import org.jetnuke.entities.Comments;

public interface CommentDAO {
	public Comments retrieveByPK(int id) throws Exception ;
	public int countAll()throws Exception;
	
	public int addNew(Comments cm)throws Exception;

	public List selectBySID_PID(int id, int pid)throws Exception;

	public List searchOrderDateDesc(String query)throws Exception;

	public void deleteBySID(int sid)throws Exception;
}
